package model

import "gorm.io/gorm"

type Movie struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Content string `gorm:"type:varchar(50)"`
}
type Connect struct {
	gorm.Model
	Mid  int    `gorm:"type:int"`
	Text string `gorm:"type:varchar(50)"`
}
type MovieConnect struct {
	Title   string `gorm:"type:varchar(50)"`
	Content string `gorm:"type:varchar(50)"`
	Cid     int    `gorm:"type:int"`
	Text    string `gorm:"type:varchar(50)"`
}
